package xuegao.study.mall.repo.dao.oms;

import org.apache.ibatis.annotations.Param;
import xuegao.study.mall.common.model.oms.OmsCartItem;

import java.util.List;
import java.util.Map;

public interface OmsCarItemDao {

    int insert(OmsCartItem record);

    int updateByPrimaryKey(OmsCartItem record);

    List<OmsCartItem> selectByParams(Map<String, Object> params);

    int deleteByParams(@Param("memberId") Long memberId, @Param("ids") List<Long> ids);
}
